<div>



<iframe id="mainframe" frameborder="0" width="100%" scrolling="auto"  src="http://service.shopex.cn/greencard/index.php?sess_id=<{$sess_id}>&certi_id=<{$certi_id}>&url=<{$url}>"></iframe>
</div>


<script>

$("mainframe").height= window.getSize().y-100;

</script>